Skip to content

API: sunset two 1.2.8 deprecations a full year out, and hold the window on the release PR - #2814

Merged
davidmckayv merged 2 commits into
mainfrom
waste/sunset-window
Dec 2, 2026
Merged

davidmckayv merged 2 commits into
mainfrom
waste/sunset-window

Conversation

@davidmckayv

@davidmckayv davidmckayv commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

CI's "The 12-month support window holds" step fails every pull request since v1.2.8 went out. Two deprecations were first served by v1.2.8 (released 2026-12-02) with x-sunset: 2027-12-01, which is 364 days, one short of the 365-day window:

  • getBotApp's actions query parameter (api/openapi/bot-grants.yaml)
  • getRecordingTitles (api/openapi/learning.yaml)

A sunset may only move later, so both move to 2027-12-02. The bundle is regenerated; the generated clients don't change. CHANGELOG.md's 1.2.8 entry is the release's and is left as it was.

Why it got through, and the guard

v1.2.8's release PR changed only the release files, so CI skipped the API spec job on it. That is the one run where a deprecation no release has served yet is counted from the release (scripts/support-window.ts firstServed: once the tree's version is newer than every release, it counts from today). On every other PR such a deprecation is only held to having a sunset.

  • scripts/ci-changes.ts: a release PR of only the release files now runs API spec too. scripts/ci-changes.test.ts holds it, red before (the release PR ran only partial and static), green after.
  • publish-release.yml: the checks needed gate runs the support-window check against the published releases before anything is tagged, on the day the release is published, when the full checks are not re-run.
  • scripts/release-note-check.test.ts and shared/tests/api-deprecations.test.ts pinned the old 2027-12-01 date; they now read the sunset from the spec.

Ran: ci-changes, release-note-check, api-deprecations, support-window, release-prepare (140 pass) and the tests that read the publish workflow (165 pass).

Changelog

Before upgrading.

  • GET /api/v2/organizations/{organizationId}/bots/{botId}/apps/{appId} query actions: send the actions in a body with readBotApp instead. Sunset 2027-12-02.
  • GET /api/v2/organizations/{organizationId}/people/{personId}/recording-titles: send the ids in a body with readRecordingTitles instead. Sunset 2027-12-02.

… full year after 1.2.8

Both were first served deprecated by v1.2.8, released 2026-12-02, with x-sunset 2027-12-01: 364 days, one short of the 365-day window. Once the release's date was on main, CI's support-window check failed every pull request. A sunset may only move later, so both move to 2027-12-02.
v1.2.8's release PR changed only the release files, so CI skipped the API spec job, and the support window never counted the two new deprecations from the release that first served them. They had sunsets 364 days out and main went red the moment v1.2.8 was published. A release PR now runs the API spec job (a deprecation no release has served yet counts from the day its tree's version is cut), and the publish gate runs the support-window check before anything is tagged, on the day it is published. The two tests that pinned the old 2027-12-01 sunset read the sunset from the spec instead.
@davidmckayv davidmckayv changed the title API: sunset two 1.2.8 deprecations a full year out API: sunset two 1.2.8 deprecations a full year out, and hold the window on the release PR Dec 2, 2026
@davidmckayv
davidmckayv added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 3730f02 Dec 2, 2026
79 of 85 checks passed
@davidmckayv
davidmckayv deleted the waste/sunset-window branch December 2, 2026 21:17
tylerslaton added a commit that referenced this pull request Dec 2, 2026
…hem (#2814)

v1.2.8, released today, first served getBotApp's actions and
getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so
CI's support-window check failed every pull request into mobile. Both
move to 2027-12-02, as main moved them in #2814; merging main into
mobile later finds the same lines. The workflow part of #2814 is left
for that merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tylerslaton added a commit that referenced this pull request Dec 2, 2026
… Account (#2718)

* OpenBot Mobile: Share details under an error, and Report a problem in Account

An error on the phone can now be sent to us. Every red notice and every
reply that stopped offers "Share details": the phone's share sheet with
the error, the screen and the ids it was opened with, the run or message,
the OpenBot release, app build and update, the phone and iOS version, the
server and the time. Account's "Report a problem" shares the same without
an error. Nothing anybody wrote is in it: a screen's address keeps only
its ids, and a stored failed reply gives its reason, not its text.

It uses React Native's Share, so it needs no new native module and
reaches installed apps in an update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* API: the two 1.2.8 deprecations sunset a full year out, as main has them (#2814)

v1.2.8, released today, first served getBotApp's actions and
getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so
CI's support-window check failed every pull request into mobile. Both
move to 2027-12-02, as main moved them in #2814; merging main into
mobile later finds the same lines. The workflow part of #2814 is left
for that merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
tylerslaton added a commit that referenced this pull request Dec 3, 2026
… Account (#2718)

* OpenBot Mobile: Share details under an error, and Report a problem in Account

An error on the phone can now be sent to us. Every red notice and every
reply that stopped offers "Share details": the phone's share sheet with
the error, the screen and the ids it was opened with, the run or message,
the OpenBot release, app build and update, the phone and iOS version, the
server and the time. Account's "Report a problem" shares the same without
an error. Nothing anybody wrote is in it: a screen's address keeps only
its ids, and a stored failed reply gives its reason, not its text.

It uses React Native's Share, so it needs no new native module and
reaches installed apps in an update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* API: the two 1.2.8 deprecations sunset a full year out, as main has them (#2814)

v1.2.8, released today, first served getBotApp's actions and
getRecordingTitles deprecated with x-sunset 2027-12-01, 364 days out, so
CI's support-window check failed every pull request into mobile. Both
move to 2027-12-02, as main moved them in #2814; merging main into
mobile later finds the same lines. The workflow part of #2814 is left
for that merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant